home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16587 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: un1.satlink.com!softdata!softdata!ANGEL
  2. From: abrisig@softdata.satlink.net (Angel E. Brisighelli)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
  4. Subject: Re: Controls in non-dialog (mfc)
  5. Date: Wed, 10 Apr 96 18:10:58 EDT
  6. Message-ID: <3a0asdw60.alamito@softdata.satlink.net>
  7. Reply-To: abrisig@softdata.satlink.net
  8. References: <4k81um$s8t@pub.news.uk.psi.net>
  9. X-Newsreader: Alamito Mail and News Manager (V2.0.4 for Waffle) (unregistered)
  10.  
  11. >sj2393@ansys.com (Steve Jones) writes:
  12. >> How in MFC does one go about embedding a control within a
  13. >> window that is not a dialog box?  For example, I can
  14. >> construct and Create() a CEdit object within a CView derived
  15. >> class, but nothing (apparently) happens.  I knew when I
  16. >> tried it something wasn't quite right; I wasn't sure what to
  17. >> use for the nID.  Is it necessary to use a resource?
  18. >> 
  19. >> 
  20. >> steve
  21. >> 
  22. >> stevejones@ansys.com
  23. >> 
  24. I do this in some programs without problems. 
  25. A stupid question. Do you put the WS_VISIBLE attribute in the Create() call, 
  26. and pass the pointer at your View in the parent field ?
  27.  
  28. chau
  29.  
  30.  
  31. --
  32. //--------------------------------------------------------------------
  33. //     Angel E. Brisighelli                     Soft Data S.A.
  34. //     abrisig@softdata.satlink.net             Malabia 853
  35. //     Buenos Aires, Argentina                  Tel. (54) 1-777-0444
  36. //--------------------------------------------------------------------
  37. // 
  38.  
  39.